package com.kgc.service.user;

import com.kgc.pojo.DmUser;

import java.util.List;
import java.util.Map;

public interface DmUserService {
    public DmUser getDmUserById( Long id)throws Exception;

    public List<DmUser> getDmUserListByMap(Map<String,Object> param)throws Exception;

    public Integer getDmUserCountByMap(Map<String,Object> param)throws Exception;

    public Integer insertDmUser(DmUser dmUser)throws Exception;

    public Integer updateDmUser(DmUser dmUser)throws Exception;

    public Integer deleteDmUserById(Long id)throws Exception;

    public Integer batchDeleteDmUser(Map<String,List<String>> params);

    public boolean chekPhoneOrEmail(String phone);
}
